bitkeeper revision 1.1729 (42ba7d48EFeRBiv6YMxK_aR9binchA)
authorarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>
Thu, 23 Jun 2005 09:13:44 +0000 (09:13 +0000)
committerarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>
Thu, 23 Jun 2005 09:13:44 +0000 (09:13 +0000)
[PATCH] novnc-dryrun.patch

Don't start VNC on a dry run.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/python/xen/xm/create.py

index 2b81b06969b02aeb62be8588d05775829d8f990f..f218ddd912b9773298f29efd7cdca0502b17e46f 100644 (file)
@@ -618,6 +618,7 @@ def main(argv):
         config = opts.vals.config
     else:
         opts.load_defconfig()
+        opts.vals.vnc = not opts.vals.dryrun
         preprocess(opts, opts.vals)
         if not opts.getopt('name') and opts.getopt('defconfig'):
             opts.setopt('name', os.path.basename(opts.getopt('defconfig')))